package Twice.day10;

import java.util.Date;

/**
 * @Author: lya
 * @Description: 本类的作用描述:
 * @CreateDate: 2019/8/13
 * @Version: 1.0
 */
public class StringDateDemo {
    public static void main(String[] args) {
        System.out.println(String.format("%tF",new Date()));
        System.out.println(String.format("%tT",new Date()));
    }
}
